<?php Yii::app()->clientScript->registerScript('locno',"locno='$location->locno'",  CClientScript::POS_HEAD); ?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/customerPortal/invoices.js',CClientScript::POS_BEGIN);?>
<div id="left-col">
    <?php $this->beginWidget('application.modules.customerportal.components.LocationMenu',array(
        
        'location'=>$location,
    ));?>
    <?php $this->endWidget()?>
    
    

</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">

            
            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
                <?php $this->renderPartial('/locations/_view',array(
                    'location'=>$location,
                ));?>
                <?php $this->renderPartial('/locations/_tab',array(
                    'model'=>$location,
                ));?>
                <br/>
                <div id="customer-tab">
                    <div id="invoice-list">
                        
                    </div>
                    
                </div>
            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
  <?php $this->renderPartial('application.views.copyright'); ?>
</div> <!-- left-col -->